package Class.obj.field.exer2;

public class Employee {
    int id;
    String name;
    int age;
    // MyDate是自定义变量 这个类作为他的属性来使用的
    // Sting和MyDate都是类类型，只不过MyDate是自定义的，String是官方规定的
    MyDate birthday;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public MyDate getBirthday() {
        return birthday;
    }

    public void setBirthday(MyDate birthday) {
        this.birthday = birthday;
    }
}
